package com.hydl.power.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;
import java.util.Date;
@JsonInclude(JsonInclude.Include.NON_NULL)
@ExcelTarget("powerdata")
public class Powerdata implements Serializable {
    private Integer id;
    private String deviceid;
    private String iemi;
    //@Excel(name = "A相电流",orderNum = "1",isImportField = "moduleId")
    private Float ia;
    //@Excel(name = "B相电流",orderNum = "2",isImportField = "moduleId")
    private Float ib;
    //@Excel(name = "C相电流",orderNum = "3",isImportField = "moduleId")
    private Float ic;
   //@Excel(name = "A相电压",orderNum = "4",isImportField = "moduleId")
    private Float ua;
    //@Excel(name = "B相电压",orderNum = "5",isImportField = "moduleId")
    private Float ub;
    //@Excel(name = "C相电压",orderNum = "6",isImportField = "moduleId")
    private Float uc;
    //@Excel(name = "AB线电压",orderNum = "7",isImportField = "moduleId")
    private Float uab;
    //@Excel(name = "BC线电压",orderNum = "8",isImportField = "moduleId")
    private Float ubc;
    //@Excel(name = "CA线电压",orderNum = "9",isImportField = "moduleId")
    private Float uca;
    //@Excel(name = "A相有功功率",orderNum = "10",isImportField = "moduleId")
    private Float pa;
    //@Excel(name = "B相有功功率",orderNum = "11",isImportField = "moduleId")
    private Float pb;
    //@Excel(name = "C相有功功率",orderNum = "12",isImportField = "moduleId")
    private Float pc;
    //@Excel(name = "总有功功率",orderNum = "13",isImportField = "moduleId")
    private Float pt;
    //@Excel(name = "A相无功总功率",orderNum = "14",isImportField = "moduleId")
    private Float pan;
    //@Excel(name = "B相无功总功率",orderNum = "15",isImportField = "moduleId")
    private Float pbn;
   // @Excel(name = "C相无功总功率",orderNum = "16",isImportField = "moduleId")
    private Float pcn;
    //@Excel(name = "总无功总功率",orderNum = "17",isImportField = "moduleId")
    private Float ptn;
   // @Excel(name = "A相功率因数",orderNum = "18",isImportField = "moduleId")
    private Float paf;
  //  @Excel(name = "B相功率因数",orderNum = "19",isImportField = "moduleId")
    private Float pbf;
  //  @Excel(name = "C相功率因数",orderNum = "20",isImportField = "moduleId")
    private Float pcf;
  //  @Excel(name = "总功率因数PTf",orderNum = "21",isImportField = "moduleId")
    private Float ptf;
   // @Excel(name = "A相视在功率",orderNum = "22",isImportField = "moduleId")
    private Float pain;
   // @Excel(name = "B相视在功率",orderNum = "23",isImportField = "moduleId")
    private Float pbin;
   // @Excel(name = "C相视在功率",orderNum = "24",isImportField = "moduleId")
    private Float pcin;
  //  @Excel(name = "总视在功率",orderNum = "25",isImportField = "moduleId")
    private Float ptin;
  //  @Excel(name = "电网频率",orderNum = "26",isImportField = "moduleId")
    private Float frequency;
    private Date createtime;

    private Float combinedActiveTipEnergy;

    private Float forwardActiveTotalElectricalEnergy;

    private Float totalReverseActiveEnergy;

    private Float wpp;

    private Float epp;

    private Float mwpp;
    private String deviceName;
    private String time;

    private String tableName;

    private Float max_pt;
    private Float max_ptf;
    private Float min_pt;
    private Float min_ptf;

    private String project_id;

    private Float avg_pt;

    private String area_id;

    private String power_room_id;

    public String getArea_id() {
        return area_id;
    }

    public void setArea_id(String area_id) {
        this.area_id = area_id;
    }

    public String getPower_room_id() {
        return power_room_id;
    }

    public void setPower_room_id(String power_room_id) {
        this.power_room_id = power_room_id;
    }

    public Float getAvg_pt() {
        return avg_pt;
    }

    public void setAvg_pt(Float avg_pt) {
        this.avg_pt = avg_pt;
    }

    public String getProject_id() {
        return project_id;
    }

    public void setProject_id(String project_id) {
        this.project_id = project_id;
    }

    public Float getMin_pt() {
        return min_pt;
    }

    public void setMin_pt(Float min_pt) {
        this.min_pt = min_pt;
    }

    public Float getMin_ptf() {
        return min_ptf;
    }

    public void setMin_ptf(Float min_ptf) {
        this.min_ptf = min_ptf;
    }

    public Float getMax_pt() {
        return max_pt;
    }

    public void setMax_pt(Float max_pt) {
        this.max_pt = max_pt;
    }

    public Float getMax_ptf() {
        return max_ptf;
    }

    public void setMax_ptf(Float max_ptf) {
        this.max_ptf = max_ptf;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public Float getWpp() {
        return wpp;
    }

    public void setWpp(Float wpp) {
        this.wpp = wpp;
    }

    public Float getEpp() {
        return epp;
    }

    public void setEpp(Float epp) {
        this.epp = epp;
    }

    public Float getMwpp() {
        return mwpp;
    }

    public void setMwpp(Float mwpp) {
        this.mwpp = mwpp;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeviceid() {
        return deviceid;
    }

    public void setDeviceid(String deviceid) {
        this.deviceid = deviceid == null ? null : deviceid.trim();
    }

    public String getIemi() {
        return iemi;
    }

    public void setIemi(String iemi) {
        this.iemi = iemi == null ? null : iemi.trim();
    }

    public Float getIa() {
        return ia;
    }

    public void setIa(Float ia) {
        this.ia = ia;
    }

    public Float getIb() {
        return ib;
    }

    public void setIb(Float ib) {
        this.ib = ib;
    }

    public Float getIc() {
        return ic;
    }

    public void setIc(Float ic) {
        this.ic = ic;
    }

    public Float getUa() {
        return ua;
    }

    public void setUa(Float ua) {
        this.ua = ua;
    }

    public Float getUb() {
        return ub;
    }

    public void setUb(Float ub) {
        this.ub = ub;
    }

    public Float getUc() {
        return uc;
    }

    public void setUc(Float uc) {
        this.uc = uc;
    }

    public Float getUab() {
        return uab;
    }

    public void setUab(Float uab) {
        this.uab = uab;
    }

    public Float getUbc() {
        return ubc;
    }

    public void setUbc(Float ubc) {
        this.ubc = ubc;
    }

    public Float getUca() {
        return uca;
    }

    public void setUca(Float uca) {
        this.uca = uca;
    }

    public Float getPa() {
        return pa;
    }

    public void setPa(Float pa) {
        this.pa = pa;
    }

    public Float getPb() {
        return pb;
    }

    public void setPb(Float pb) {
        this.pb = pb;
    }

    public Float getPc() {
        return pc;
    }

    public void setPc(Float pc) {
        this.pc = pc;
    }

    public Float getPt() {
        return pt;
    }

    public void setPt(Float pt) {
        this.pt = pt;
    }

    public Float getPan() {
        return pan;
    }

    public void setPan(Float pan) {
        this.pan = pan;
    }

    public Float getPbn() {
        return pbn;
    }

    public void setPbn(Float pbn) {
        this.pbn = pbn;
    }

    public Float getPcn() {
        return pcn;
    }

    public void setPcn(Float pcn) {
        this.pcn = pcn;
    }

    public Float getPtn() {
        return ptn;
    }

    public void setPtn(Float ptn) {
        this.ptn = ptn;
    }

    public Float getPaf() {
        return paf;
    }

    public void setPaf(Float paf) {
        this.paf = paf;
    }

    public Float getPbf() {
        return pbf;
    }

    public void setPbf(Float pbf) {
        this.pbf = pbf;
    }

    public Float getPcf() {
        return pcf;
    }

    public void setPcf(Float pcf) {
        this.pcf = pcf;
    }

    public Float getPtf() {
        return ptf;
    }

    public void setPtf(Float ptf) {
        this.ptf = ptf;
    }

    public Float getPain() {
        return pain;
    }

    public void setPain(Float pain) {
        this.pain = pain;
    }

    public Float getPbin() {
        return pbin;
    }

    public void setPbin(Float pbin) {
        this.pbin = pbin;
    }

    public Float getPcin() {
        return pcin;
    }

    public void setPcin(Float pcin) {
        this.pcin = pcin;
    }

    public Float getPtin() {
        return ptin;
    }

    public void setPtin(Float ptin) {
        this.ptin = ptin;
    }

    public Float getFrequency() {
        return frequency;
    }

    public void setFrequency(Float frequency) {
        this.frequency = frequency;
    }


    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Float getCombinedActiveTipEnergy() {
        return combinedActiveTipEnergy;
    }

    public void setCombinedActiveTipEnergy(Float combinedActiveTipEnergy) {
        this.combinedActiveTipEnergy = combinedActiveTipEnergy;
    }

    public Float getForwardActiveTotalElectricalEnergy() {
        return forwardActiveTotalElectricalEnergy;
    }

    public void setForwardActiveTotalElectricalEnergy(Float forwardActiveTotalElectricalEnergy) {
        this.forwardActiveTotalElectricalEnergy = forwardActiveTotalElectricalEnergy;
    }

    public Float getTotalReverseActiveEnergy() {
        return totalReverseActiveEnergy;
    }

    public void setTotalReverseActiveEnergy(Float totalReverseActiveEnergy) {
        this.totalReverseActiveEnergy = totalReverseActiveEnergy;
    }

    @Override
    public String toString() {
        return "Powerdata{" +
                "id=" + id +
                ", deviceid='" + deviceid + '\'' +
                ", iemi='" + iemi + '\'' +
                ", ia=" + ia +
                ", ib=" + ib +
                ", ic=" + ic +
                ", ua=" + ua +
                ", ub=" + ub +
                ", uc=" + uc +
                ", uab=" + uab +
                ", ubc=" + ubc +
                ", uca=" + uca +
                ", pa=" + pa +
                ", pb=" + pb +
                ", pc=" + pc +
                ", pt=" + pt +
                ", pan=" + pan +
                ", pbn=" + pbn +
                ", pcn=" + pcn +
                ", ptn=" + ptn +
                ", paf=" + paf +
                ", pbf=" + pbf +
                ", pcf=" + pcf +
                ", ptf=" + ptf +
                ", pain=" + pain +
                ", pbin=" + pbin +
                ", pcin=" + pcin +
                ", ptin=" + ptin +
                ", frequency=" + frequency +
                ", createtime=" + createtime +
                ", combinedActiveTipEnergy=" + combinedActiveTipEnergy +
                ", forwardActiveTotalElectricalEnergy=" + forwardActiveTotalElectricalEnergy +
                ", totalReverseActiveEnergy=" + totalReverseActiveEnergy +
                ", wpp=" + wpp +
                ", epp=" + epp +
                ", mwpp=" + mwpp +
                ", deviceName='" + deviceName + '\'' +
                ", time='" + time + '\'' +
                '}';
    }
}
